package com.wicket.okrcomponent.biz.service.dto.common;

import com.wicket.okrcomponent.common.dto.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.validation.constraints.NotNull;
import lombok.Data;
import java.util.Objects;

/**
 * @desc RealTimeMonitoringBehaviorInstructionDto
 * @使用场景
 */
@Data
public class RealTimeMonitoringBehaviorInstructionDto
  extends BaseDto
  implements Serializable {

  /**
   * 行为指令CODE
   */
  @ApiModelProperty("行为指令CODE")
  private String behavioralInstruction;

  /**
   * 自定义字段1
   */
  @ApiModelProperty("自定义字段1")
  private String customField1;

  /**
   * 自定义字段2
   */
  @ApiModelProperty("自定义字段2")
  private String customField2;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      RealTimeMonitoringBehaviorInstructionDto that = (RealTimeMonitoringBehaviorInstructionDto) o;
      return  behavioralInstruction == that.behavioralInstruction&&customField1 == that.customField1&&customField2 == that.customField2;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), behavioralInstruction,customField1,customField2);
    }

}
